/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fsflightplanner;

import java.util.List;

/**
 *
 * @author Matt
 */
public class FlightPlan {
    private FlightPlanType flightPlanType;
    private RouteType routeType;
    private Waypoint departureAirport;
    private Waypoint destinationAirport;
    private String departurePosition;
    private List<Waypoint> waypoints;

    public FlightPlan(FlightPlanType flightPlanType,
            RouteType routeType,
            Waypoint departureAirport,
            Waypoint destinationAirport,
            String departurePosition,
            List<Waypoint> waypoints) {

        this.flightPlanType = flightPlanType;
        this.routeType = routeType;
        this.departureAirport = departureAirport;
        this.destinationAirport = destinationAirport;
        this.departurePosition = departurePosition;
        this.waypoints = waypoints;
    }

    public void setFlightPlanType(FlightPlanType flightPlanType) {
        this.flightPlanType = flightPlanType;
    }

    public FlightPlanType getFlightPlanType() {
        return flightPlanType;
    }

    public void setRouteType(RouteType routeType) {
        this.routeType = routeType;
    }

    public RouteType getRouteType() {
        return routeType;
    }

    public void setDepartureAirport(Waypoint departureAirport) {
        this.departureAirport = departureAirport;
    }

    public Waypoint getDepartureAirport() {
        return departureAirport;
    }

    public void setDestinationAirport(Waypoint destinationAirport) {
        this.destinationAirport = destinationAirport;
    }

    public Waypoint getDestinationAirport() {
        return destinationAirport;
    }

    public void setDeparturePosition(String departurePosition) {
        this.departurePosition = departurePosition;
    }

    public String getDeparturePosition() {
        return departurePosition;
    }

    public void setWaypoints(List<Waypoint> waypoints) {
        this.waypoints = waypoints;
    }

    public List<Waypoint> getWaypoints() {
        return waypoints;
    }
}
